const Router = require('koa-router');  
const router = new Router();  
const koaBody = require('koa-bodyparser'); 

router.prefix('/wode');
const wode = require('../model/wode');
router.post('/personal', koaBody(), async ctx => {
    const user_name = ctx.request.body.user_name;  
    // const password = ctx.request.body.password;  
    // const e_mail = ctx.request.body.e_mail;  
    // const like = ctx.request.body.like;
    // const sign = ctx.request.body.sign;
    // const tou_img = ctx.request.body.tou_img;

    const rows = await wode.GEREN(user_name);     
    ctx.body = rows;  
}); 

module.exports = router;